﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="Ras2Web._default" Title="Vinsældalistar Rásar 2: 1984-1987" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <h2>Vinsældalistar</h2>
    
    <asp:GridView ID="m_gridHitLists"
                  AutoGenerateColumns="False"
                  AllowPaging="true"
                  OnPageIndexChanging="m_gridHitLists_IndexChanging"
                  PageSize="20"
                  runat="server"
                  BorderWidth="0px"
                  CellPadding="3">
                  
        <Columns>
            
            <asp:HyperLinkField DataNavigateUrlFields="ID"  
                DataNavigateUrlFormatString="~/HitList.aspx?ID={0}" DataTextField="Name" 
                HeaderText="Nafn">
            </asp:HyperLinkField>
            <asp:BoundField DataField="DateBegins" HeaderText="Upphafsdagsetning" 
            DataFormatString="{0:dd. MMMM yyyy}" HtmlEncode="false" />
            <asp:BoundField DataField="DateEnds" HeaderText="Lokadagsetning" 
            DataFormatString="{0:dd. MMMM yyyy}"  HtmlEncode="false" />
            
        </Columns>
        <HeaderStyle CssClass="tableHeader" />
    </asp:GridView>

</asp:Content>
